<template>
  <div>
    <h1>我是server</h1>
  </div>
</template>
<script>
import axios from 'axios'

export default {
  created() {
    axios({
      methid: 'get',
      url: '/db/in_theaters?limit=5'
    }).then((res) => {
      console.log(res)
      this.qmsg = res
    })
  },
  // created() {
  //   axios({
  //     url: 'https://m.maizuo.com/gateway?cityId=310100&pageNum=1&pageSize=10&type=1&k=7590357',
  //     headers: {
  //       'X-Client-Info':
  //         '{"a":"3000","ch":"1002","v":"5.2.1","e":"16659873613985695290949633","bc":"310100"}',
  //       'X-Host': 'mall.film-ticket.film.list'
  //     }
  //   }).then((res) => {
  //     console.log(res)
  //     this.qmsg = res
  //   })
  // },
  data() {
    return {
      qmsg: ''
    }
  }
}
</script>
